package com.netease.nie.mapper;

import org.apache.ibatis.annotations.Param;

import com.netease.nie.base.mybatis.common.ShardTable;
import com.netease.nie.base.mybatis.common.ShardType;
import com.netease.nie.base.mybatis.sql.Shard;
import com.netease.nie.model.User;

/**
 * 
 * @author wwbn3695
 * @createDate July 22nd,2016
 *
 */
//@ShardTable(shardType = ShardType.STR_HASH, shardBy = "%64", tableName = "user")
public interface UserMapper {

/*	Long queryUserIdBySsn(@Param(value = "ssn") String ssn, Shard shard);
	
	Long registerUser(@Param(value = "user") User user, Shard shard) throws Exception;
*/	
	Long queryUserIdBySsn(@Param(value = "ssn") String ssn);
	
	Long registerUser(@Param(value = "user") User user);
	
}
